OCPBUGS-32293: Update Jenkins test to use Deployment - #28718
OCPBUGS-32293: Update Jenkins test to use Deployment#28718apoorvajagtap wants to merge 2 commits into
Conversation
|
@apoorvajagtap: This pull request references Jira Issue OCPBUGS-32293, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/assign @adambkaplan |
adambkaplan
left a comment
There was a problem hiding this comment.
/approve
Minor suggestion on the skip message.
688e448 to
809e832
Compare
|
/approve |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: adambkaplan, apoorvajagtap, sayan-biswas The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
Job Failure Risk Analysis for sha: 809e832
|
|
New changes are detected. LGTM label has been removed. |
|
@adambkaplan While looking through the test logs, I realized that it creates deployment (template changes introduced with 4.15) & the test waits for deploymentConfig to be ready. |
|
🤔 Now I'm wondering why it took us this long to catch the change... |
|
/retest |
|
|
||
| g.By("waiting for jenkins deployment") | ||
| err = exutil.WaitForDeploymentConfig(oc.KubeClient(), oc.AppsClient().AppsV1(), oc.Namespace(), "jenkins", 1, false, oc) | ||
| err = exutil.WaitForDeploymentReady(oc, "jenkins", oc.Namespace()) |
There was a problem hiding this comment.
In WaitForDeploymentReady, the context isn't wired through to the PollUntilContextTimeout's ConditionFunc. No rush to fix it now if the test is working, but FYI.
|
@apoorvajagtap: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
|
Job Failure Risk Analysis for sha: ba2a8f0
|
soltysh
left a comment
There was a problem hiding this comment.
/hold
Where that jenkins-ephemeral is coming from, I checked both https://github.com/openshift/origin/blob/master/examples/jenkins/jenkins-ephemeral-template.json and https://github.com/openshift/origin/blob/master/test/extended/testdata/cmd/test/cmd/testdata/jenkins/jenkins-ephemeral-template.json both of these are creating DCs not deployment?
Alternatively, if you're changing to a deployment (if the above what I said is wrong), you'll need to update logs command in line 65, it currently requests logs -f dc/jenkins which if we're working with a deployment should be logs -f deploy/jenkins
|
Found the culprit in openshift/cluster-samples-operator#540, so yes, aside from that wait, you need to update that run as I mentioned above. Also, given we have those two extra places which don't seem to be in-sync with what we have in samples, I'd suggest to sync them as well. To make them all consistent. |
|
/approve cancel |
|
Also |
|
Reverting changes to cluster-samples-operator in openshift/cluster-samples-operator#542 |
|
/close Replacing with #28732 |
|
@adambkaplan: Closed this PR. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
@apoorvajagtap: This pull request references Jira Issue OCPBUGS-32293. The bug has been updated to no longer refer to the pull request using the external bug tracker. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
Failing Jenkins Pipeline test blocks multiple PRs from merging. As agreed, skipping these tests temporarily.